Carbon


PBEject

Header: Files.h Carbon status: Supported

Places the volume offline and ejects it.

OSErr PBEject (
    ParmBlkPtr paramBlock
);
Parameter descriptions
paramBlock

A pointer to a basic File Manager parameter block.

function result

A result code.

DISCUSSION

The relevant fields of the parameter block are:

The PBEject function flushes the specified volume, places it offline, and then ejects the volume.

AVAILABILITY

Supported in Carbon. Not available in Carbon.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)